# name: # flags: 0x1400 (ENABLE_CONTROL, NEED_GOODBYE) # delay: 65535 # event mask: 0x016A # menu id: 0 # open label: 0022 # prime label: 0230 # control label: 0234 # status label: 0230 # close label: 01F8 00000000 0120 btst -[A0], D0 00000002 0337 2E30 btst [A7 + D2 * 8 + 0x30], D1 fn00000006: 00000006 9EFC 0040 sub.w A7, 0x40 /* '@' */ 0000000A 204F movea.l A0, A7 0000000C 3140 0016 move.w [A0 + 0x16], D0 00000010 42A8 0012 clr.l [A0 + 0x12] 00000014 A015 syscall SetVol/PBHSetVol/HSetVol 00000016 A014 syscall GetVol/PBHGetVol/HGetVol 00000018 3028 0016 move.w D0, [A0 + 0x16] 0000001C 4FEF 0040 lea.l A7, [A7 + 0x40] 00000020 4E75 rts open: 00000022 48E7 0018 movem.l -[A7], A3,A4 00000026 2F38 0AF2 move.l -[A7], [0x00000AF2 /* ResErrProc */] 0000002A 42B8 0AF2 clr.l [0x00000AF2 /* ResErrProc */] 0000002E 2849 movea.l A4, A1 00000030 554F subq.w A7, 2 00000032 A994 syscall CurResFile 00000034 4AAC 001E tst.l [A4 + 0x1E] 00000038 6600 0106 bne +0x108 /* 00000140 */ 0000003C 7046 moveq.l D0, 0x46 0000003E E540 asl D0.w, 2 00000040 A322 syscall NewHandleClear, flags=3 00000042 2648 movea.l A3, A0 00000044 2948 0014 move.l [A4 + 0x14], A0 00000048 7000 moveq.l D0, 0x00 0000004A 61BA bsr -0x44 /* 00000006 */ 0000004C 3F00 move.w -[A7], D0 0000004E 3038 0210 move.w D0, [0x00000210 /* BootDrive */] 00000052 61B2 bsr -0x4C /* 00000006 */ 00000054 6100 013A bsr +0x13C /* 00000190 */ 00000058 6A58 bpl +0x5A /* 000000B2 */ 0000005A 7003 moveq.l D0, 0x03 0000005C 6100 07D8 bsr +0x7DA /* 00000836 */ 00000060 2F08 move.l -[A7], A0 00000062 2F10 move.l -[A7], [A0] 00000064 D197 add.l [A7], D0 00000066 A9B1 syscall CreateResFile 00000068 4A78 0A60 tst.w [0x00000A60 /* ResErr */] 0000006C 6600 0102 bne +0x104 /* 00000170 */ 00000070 7013 moveq.l D0, 0x13 label00000072: 00000072 42A7 clr.l -[A7] 00000074 51C8 FFFC dbf D0, -0x6 /* 00000072 */ 00000078 7003 moveq.l D0, 0x03 0000007A 6100 07BA bsr +0x7BC /* 00000836 */ 0000007E 2050 movea.l A0, [A0] 00000080 D1C0 add.l A0, D0 00000082 2F48 0012 move.l [A7 + 0x12], A0 00000086 204F movea.l A0, A7 00000088 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo 0000008A 217C 7363 626B 0020 move.l [A0 + 0x20], 0x7363626B /* 'scbk' */ 00000092 217C 7363 626B 0024 move.l [A0 + 0x24], 0x7363626B /* 'scbk' */ 0000009A A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo 0000009C 4FEF 0050 lea.l A7, [A7 + 0x50] 000000A0 A9A3 syscall ReleaseResource 000000A2 6100 00EC bsr +0xEE /* 00000190 */ 000000A6 6D00 00CA blt +0xCC /* 00000172 */ 000000AA 6100 0098 bsr +0x9A /* 00000144 */ 000000AE 6100 085E bsr +0x860 /* 0000090E */ label000000B2: 000000B2 301F move.w D0, [A7]+ 000000B4 6100 FF50 bsr -0xAE /* 00000006 */ 000000B8 6100 00F6 bsr +0xF8 /* 000001B0 */ 000000BC 6100 08A4 bsr +0x8A6 /* 00000962 */ 000000C0 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo 000000C2 2053 movea.l A0, [A3] 000000C4 082F 0007 0027 btst.b [A7 + 0x27], 0x7 000000CA 56E8 000B sne [A0 + 0xB] 000000CE 4FEF 0040 lea.l A7, [A7 + 0x40] 000000D2 7000 moveq.l D0, 0x00 000000D4 6100 0794 bsr +0x796 /* 0000086A */ 000000D8 3E00 move.w D7, D0 000000DA 2F3C 5749 4E44 move.l -[A7], 0x57494E44 /* 'WIND' */ 000000E0 3F07 move.w -[A7], D7 000000E2 6100 0B6C bsr +0xB6E /* 00000C50 */ 000000E6 594F subq.w A7, 4 000000E8 3F07 move.w -[A7], D7 000000EA 42A7 clr.l -[A7] 000000EC 2F38 0A06 move.l -[A7], [0x00000A06 /* MinusOne */] 000000F0 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 000000F6 6704 beq +0x6 /* 000000FC */ 000000F8 A9BD syscall GetNewWindow 000000FA 6002 bra +0x4 /* 000000FE */ label000000FC: 000000FC AA46 syscall GetNewCWindow label000000FE: 000000FE 205F movea.l A0, [A7]+ 00000100 2948 001E move.l [A4 + 0x1E], A0 00000104 316C 0018 006C move.w [A0 + 0x6C], [A4 + 0x18] 0000010A 317C 0001 0044 move.w [A0 + 0x44], 0x1 00000110 317C 000C 004A move.w [A0 + 0x4A], 0xC 00000116 6100 028C bsr +0x28E /* 000003A4 */ 0000011A 2053 movea.l A0, [A3] 0000011C 2F28 0002 move.l -[A7], [A0 + 0x2] 00000120 594F subq.w A7, 4 00000122 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000126 A917 syscall GetWRefCon 00000128 544F addq.w A7, 2 0000012A A963 syscall SetControlValue/SetCtlValue 0000012C 2053 movea.l A0, [A3] 0000012E 0C68 0002 0008 cmpi.w [A0 + 0x8], 0x2 00000134 6C0A bge +0xC /* 00000140 */ 00000136 2F28 0002 move.l -[A7], [A0 + 0x2] 0000013A 3F3C FFFF move.w -[A7], 0xFFFF 0000013E A95D syscall HiliteControl label00000140: 00000140 7000 moveq.l D0, 0x00 00000142 603C bra +0x3E /* 00000180 */ fn00000144: 00000144 2F0A move.l -[A7], A2 00000146 7040 moveq.l D0, 0x40 00000148 E540 asl D0.w, 2 0000014A A322 syscall NewHandleClear, flags=3 0000014C 2448 movea.l A2, A0 0000014E 2053 movea.l A0, [A3] 00000150 3F10 move.w -[A7], [A0] 00000152 3F17 move.w -[A7], [A7] 00000154 A998 syscall UseResFile 00000156 2F0A move.l -[A7], A2 00000158 2F3C 534D 4150 move.l -[A7], 0x534D4150 /* 'SMAP' */ 0000015E 4267 clr.w -[A7] 00000160 487A 0A3E pea.l [PC + 0xA3E /* 00000BA0, value 0xD0, cstring "" */] 00000164 A9AB syscall AddResource 00000166 2F0A move.l -[A7], A2 00000168 A9B0 syscall WriteResource 0000016A A999 syscall UpdateResFile 0000016C 245F movea.l A2, [A7]+ 0000016E 4E75 rts label00000170: 00000170 A9A3 syscall ReleaseResource label00000172: 00000172 544F addq.w A7, 2 00000174 3F3C 0006 move.w -[A7], 0x6 00000178 A9C8 syscall SysBeep 0000017A 204B movea.l A0, A3 0000017C A023 syscall DisposHandle/DisposeHandle 0000017E 70FF moveq.l D0, 0xFFFFFFFF label00000180: 00000180 C18B exg D0, A3 00000182 A998 syscall UseResFile 00000184 C18B exg D0, A3 00000186 21DF 0AF2 move.l [0x00000AF2 /* ResErrProc */], [A7]+ 0000018A 4CDF 1800 movem.l A3,A4, [A7]+ 0000018E 4E75 rts fn00000190: 00000190 7003 moveq.l D0, 0x03 00000192 6100 06A2 bsr +0x6A4 /* 00000836 */ 00000196 2F08 move.l -[A7], A0 00000198 554F subq.w A7, 2 0000019A 2F00 move.l -[A7], D0 0000019C 2010 move.l D0, [A0] 0000019E A055 syscall StripAddress 000001A0 D197 add.l [A7], D0 000001A2 A997 syscall OpenResFile 000001A4 2053 movea.l A0, [A3] 000001A6 309F move.w [A0], [A7]+ 000001A8 A9A3 syscall ReleaseResource 000001AA 2053 movea.l A0, [A3] 000001AC 4A50 tst.w [A0] 000001AE 4E75 rts fn000001B0: 000001B0 594F subq.w A7, 4 000001B2 2F3C 534D 4150 move.l -[A7], 0x534D4150 /* 'SMAP' */ 000001B8 4267 clr.w -[A7] 000001BA A81F syscall Get1Resource 000001BC 201F move.l D0, [A7]+ 000001BE 672E beq +0x30 /* 000001EE */ 000001C0 2F00 move.l -[A7], D0 000001C2 2040 movea.l A0, D0 000001C4 2050 movea.l A0, [A0] 000001C6 2253 movea.l A1, [A3] 000001C8 43E9 0016 lea.l A1, [A1 + 0x16] 000001CC 7040 moveq.l D0, 0x40 000001CE E540 asl D0.w, 2 000001D0 A02E syscall BlockMove/BlockMoveData 000001D2 7000 moveq.l D0, 0x00 000001D4 323C 00FF move.w D1, 0xFF label000001D8: 000001D8 4A19 tst.b [A1]+ 000001DA 6702 beq +0x4 /* 000001DE */ 000001DC 5240 addq.w D0, 1 label000001DE: 000001DE 51C9 FFF8 dbf D1, -0xA /* 000001D8 */ 000001E2 2053 movea.l A0, [A3] 000001E4 3140 0008 move.w [A0 + 0x8], D0 000001E8 A9A3 syscall ReleaseResource 000001EA 7000 moveq.l D0, 0x00 000001EC 4E75 rts label000001EE: 000001EE 584F addq.w A7, 4 000001F0 2053 movea.l A0, [A3] 000001F2 50E8 000A st [A0 + 0xA] 000001F6 4E75 rts close: 000001F8 48E7 0018 movem.l -[A7], A3,A4 000001FC 2F38 0AF2 move.l -[A7], [0x00000AF2 /* ResErrProc */] 00000200 42B8 0AF2 clr.l [0x00000AF2 /* ResErrProc */] 00000204 554F subq.w A7, 2 00000206 A994 syscall CurResFile 00000208 2849 movea.l A4, A1 0000020A 266C 0014 movea.l A3, [A4 + 0x14] 0000020E 2053 movea.l A0, [A3] 00000210 3F10 move.w -[A7], [A0] 00000212 A99A syscall CloseResFile 00000214 6100 0A92 bsr +0xA94 /* 00000CA8 */ 00000218 204B movea.l A0, A3 0000021A A023 syscall DisposHandle/DisposeHandle 0000021C 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000220 42AC 001E clr.l [A4 + 0x1E] 00000224 A914 syscall DisposeWindow 00000226 A998 syscall UseResFile 00000228 21DF 0AF2 move.l [0x00000AF2 /* ResErrProc */], [A7]+ 0000022C 4CDF 1800 movem.l A3,A4, [A7]+ prime: status: 00000230 7000 moveq.l D0, 0x00 00000232 4E75 rts control: 00000234 48E7 0018 movem.l -[A7], A3,A4 00000238 2F38 0AF2 move.l -[A7], [0x00000AF2 /* ResErrProc */] 0000023C 42B8 0AF2 clr.l [0x00000AF2 /* ResErrProc */] 00000240 554F subq.w A7, 2 00000242 A994 syscall CurResFile 00000244 2849 movea.l A4, A1 00000246 266C 0014 movea.l A3, [A4 + 0x14] 0000024A 3028 001A move.w D0, [A0 + 0x1A] 0000024E 0C40 FFFF cmpi.w D0, 0xFFFF 00000252 673C beq +0x3E /* 00000290 */ 00000254 0440 0040 subi.w D0, 0x40 /* '@' */ 00000258 6B0A bmi +0xC /* 00000264 */ 0000025A 6740 beq +0x42 /* 0000029C */ 0000025C 0C40 0002 cmpi.w D0, 0x2 00000260 6E16 bgt +0x18 /* 00000278 */ 00000262 671E beq +0x20 /* 00000282 */ label00000264: 00000264 224C movea.l A1, A4 00000266 A998 syscall UseResFile 00000268 21DF 0AF2 move.l [0x00000AF2 /* ResErrProc */], [A7]+ 0000026C 4CDF 1800 movem.l A3,A4, [A7]+ 00000270 7000 moveq.l D0, 0x00 00000272 2F38 08FC move.l -[A7], [0x000008FC /* JIODone */] 00000276 4E75 rts label00000278: 00000278 5D40 subq.w D0, 6 0000027A 6DE8 blt -0x16 /* 00000264 */ 0000027C 6100 0676 bsr +0x678 /* 000008F4 */ 00000280 60E2 bra -0x1C /* 00000264 */ label00000282: 00000282 6100 0AB2 bsr +0xAB4 /* 00000D36 */ 00000286 2055 movea.l A0, [A5] 00000288 4868 FF94 pea.l [A0 - 0x6C] 0000028C A851 syscall SetCursor 0000028E 60D4 bra -0x2A /* 00000264 */ label00000290: 00000290 2053 movea.l A0, [A3] 00000292 3F10 move.w -[A7], [A0] 00000294 A99A syscall CloseResFile 00000296 6100 0A10 bsr +0xA12 /* 00000CA8 */ 0000029A 60C8 bra -0x36 /* 00000264 */ label0000029C: 0000029C 2F0A move.l -[A7], A2 0000029E 2468 001C movea.l A2, [A0 + 0x1C] 000002A2 3012 move.w D0, [A2] 000002A4 5340 subq.w D0, 1 000002A6 6762 beq +0x64 /* 0000030A */ 000002A8 5540 subq.w D0, 2 000002AA 6712 beq +0x14 /* 000002BE */ 000002AC 5540 subq.w D0, 2 000002AE 670E beq +0x10 /* 000002BE */ 000002B0 5340 subq.w D0, 1 000002B2 673A beq +0x3C /* 000002EE */ 000002B4 5540 subq.w D0, 2 000002B6 6700 00D2 beq +0xD4 /* 0000038A */ label000002BA: 000002BA 245F movea.l A2, [A7]+ 000002BC 60A6 bra -0x58 /* 00000264 */ label000002BE: 000002BE 082A 0000 000E btst.b [A2 + 0xE], 0x0 000002C4 67F4 beq -0xA /* 000002BA */ 000002C6 122A 0005 move.b D1, [A2 + 0x5] 000002CA 0201 00DF andi.b D1, 0xDF 000002CE 41FA 001A lea.l A0, [PC + 0x1A /* 000002EA, value 0x56435800 'VCX\0', cstring "VCX" */] 000002D2 7002 moveq.l D0, 0x02 label000002D4: 000002D4 B218 cmp.b D1, [A0]+ 000002D6 57C8 FFFC dbeq D0, -0x6 /* 000002D4 */ 000002DA 6606 bne +0x8 /* 000002E2 */ 000002DC 6100 0616 bsr +0x618 /* 000008F4 */ 000002E0 60D8 bra -0x26 /* 000002BA */ label000002E2: 000002E2 3F3C 0004 move.w -[A7], 0x4 000002E6 A9C8 syscall SysBeep 000002E8 60D0 bra -0x2E /* 000002BA */ 000002EA 5643 addq.w D3, 3 000002EC 5800 addq.b D0, 4 label000002EE: 000002EE 554F subq.w A7, 2 000002F0 A994 syscall CurResFile 000002F2 2053 movea.l A0, [A3] 000002F4 3F10 move.w -[A7], [A0] 000002F6 A998 syscall UseResFile 000002F8 2F2A 0002 move.l -[A7], [A2 + 0x2] 000002FC 2F17 move.l -[A7], [A7] 000002FE A922 syscall BeginUpdate 00000300 6100 03EA bsr +0x3EC /* 000006EC */ 00000304 A923 syscall EndUpdate 00000306 A998 syscall UseResFile 00000308 60B0 bra -0x4E /* 000002BA */ label0000030A: 0000030A 4E56 FFF8 link A6, -0x0008 0000030E 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000312 A873 syscall SetPort 00000314 2D6A 000A FFFC move.l [A6 - 0x4], [A2 + 0xA] 0000031A 486E FFFC pea.l [A6 - 0x4] 0000031E A871 syscall GlobalToLocal 00000320 4267 clr.w -[A7] 00000322 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000326 2F2C 001E move.l -[A7], [A4 + 0x1E] 0000032A 486E FFF8 pea.l [A6 - 0x8] 0000032E A96C syscall FindControl 00000330 301F move.w D0, [A7]+ 00000332 6732 beq +0x34 /* 00000366 */ 00000334 4267 clr.w -[A7] 00000336 2F2E FFF8 move.l -[A7], [A6 - 0x8] 0000033A 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000033E 226E FFF8 movea.l A1, [A6 - 0x8] 00000342 2053 movea.l A0, [A3] 00000344 B3E8 0002 cmpa.l A1, [A0 + 0x2] 00000348 6610 bne +0x12 /* 0000035A */ 0000034A 4A00 tst.b D0 0000034C 6B1E bmi +0x20 /* 0000036C */ 0000034E 41FA 0802 lea.l A0, [PC + 0x802 /* 00000B52, value 0x48E71810 */] 00000352 2F08 move.l -[A7], A0 00000354 A968 syscall TrackControl 00000356 544F addq.w A7, 2 00000358 600C bra +0xE /* 00000366 */ label0000035A: 0000035A 42A7 clr.l -[A7] 0000035C A968 syscall TrackControl 0000035E 301F move.w D0, [A7]+ 00000360 6704 beq +0x6 /* 00000366 */ 00000362 6100 00C6 bsr +0xC8 /* 0000042A */ label00000366: 00000366 4E5E unlink A6 00000368 6000 FF50 bra -0xAE /* 000002BA */ label0000036C: 0000036C 554F subq.w A7, 2 0000036E 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000372 A960 syscall GetControlValue/GetCtlValue 00000374 361F move.w D3, [A7]+ 00000376 42A7 clr.l -[A7] 00000378 A968 syscall TrackControl 0000037A 2F2E FFF8 move.l -[A7], [A6 - 0x8] 0000037E A960 syscall GetControlValue/GetCtlValue 00000380 B65F cmp.w D3, [A7]+ 00000382 67E2 beq -0x1C /* 00000366 */ 00000384 6100 037C bsr +0x37E /* 00000702 */ 00000388 60DC bra -0x22 /* 00000366 */ label0000038A: 0000038A 2053 movea.l A0, [A3] 0000038C 2F28 0002 move.l -[A7], [A0 + 0x2] 00000390 082A 0000 000F btst.b [A2 + 0xF], 0x0 00000396 6706 beq +0x8 /* 0000039E */ 00000398 A957 syscall ShowControl 0000039A 6000 FF1E bra -0xE0 /* 000002BA */ label0000039E: 0000039E A958 syscall HideControl 000003A0 6000 FF18 bra -0xE6 /* 000002BA */ fn000003A4: 000003A4 594F subq.w A7, 4 000003A6 2F2C 001E move.l -[A7], [A4 + 0x1E] 000003AA 487A 07F6 pea.l [PC + 0x7F6 /* 00000BA2, value 0xD0000C, cstring "" */] 000003AE 487A 07F0 pea.l [PC + 0x7F0 /* 00000BA0, value 0xD0, cstring "" */] 000003B2 3F3C 0100 move.w -[A7], 0x100 000003B6 2F38 0A02 move.l -[A7], [0x00000A02 /* OneOne */] 000003BA 2053 movea.l A0, [A3] 000003BC 3F28 0008 move.w -[A7], [A0 + 0x8] 000003C0 3F3C 0010 move.w -[A7], 0x10 000003C4 42A7 clr.l -[A7] 000003C6 A954 syscall NewControl 000003C8 2053 movea.l A0, [A3] 000003CA 215F 0002 move.l [A0 + 0x2], [A7]+ 000003CE 594F subq.w A7, 4 000003D0 2F2C 001E move.l -[A7], [A4 + 0x1E] 000003D4 7000 moveq.l D0, 0x00 000003D6 6100 0492 bsr +0x494 /* 0000086A */ 000003DA 594F subq.w A7, 4 000003DC 2F3C 5245 4354 move.l -[A7], 0x52454354 /* 'RECT' */ 000003E2 3F00 move.w -[A7], D0 000003E4 A9A0 syscall GetResource 000003E6 2057 movea.l A0, [A7] 000003E8 2E90 move.l [A7], [A0] 000003EA 7007 moveq.l D0, 0x07 000003EC 6100 0448 bsr +0x44A /* 00000836 */ 000003F0 2050 movea.l A0, [A0] 000003F2 4870 0000 pea.l [A0 + D0.w] 000003F6 4267 clr.w -[A7] 000003F8 42A7 clr.l -[A7] 000003FA 3F3C 0001 move.w -[A7], 0x1 000003FE 4267 clr.w -[A7] 00000400 42A7 clr.l -[A7] 00000402 A954 syscall NewControl 00000404 2053 movea.l A0, [A3] 00000406 215F 000C move.l [A0 + 0xC], [A7]+ 0000040A 4E75 rts fn0000040C: 0000040C 2053 movea.l A0, [A3] 0000040E 41E8 0016 lea.l A0, [A0 + 0x16] 00000412 7200 moveq.l D1, 0x00 label00000414: 00000414 B018 cmp.b D0, [A0]+ 00000416 670A beq +0xC /* 00000422 */ 00000418 5241 addq.w D1, 1 0000041A 4A01 tst.b D1 0000041C 66F6 bne -0x8 /* 00000414 */ 0000041E 7000 moveq.l D0, 0x00 00000420 4E75 rts label00000422: 00000422 3001 move.w D0, D1 00000424 0040 8000 ori.w D0, 0x8000 label00000428: 00000428 4E75 rts fn0000042A: 0000042A 2053 movea.l A0, [A3] 0000042C 2268 0010 movea.l A1, [A0 + 0x10] 00000430 2F09 move.l -[A7], A1 00000432 A9A2 syscall LoadResource 00000434 554F subq.w A7, 2 00000436 42A7 clr.l -[A7] 00000438 2F09 move.l -[A7], A1 0000043A 4267 clr.w -[A7] 0000043C A805 syscall SndPlay 0000043E 301F move.w D0, [A7]+ 00000440 4E75 rts fn00000442: 00000442 7000 moveq.l D0, 0x00 00000444 61C6 bsr -0x38 /* 0000040C */ 00000446 67E0 beq -0x1E /* 00000428 */ 00000448 3F01 move.w -[A7], D1 0000044A 6100 0504 bsr +0x506 /* 00000950 */ 0000044E 321F move.w D1, [A7]+ 00000450 2053 movea.l A0, [A3] 00000452 1180 1016 move.b [A0 + D1.w + 0x16], D0 00000456 5268 0008 addq.w [A0 + 0x8], 1 0000045A 343C 00FF move.w D2, 0xFF label0000045E: 0000045E B030 2016 cmp.b D0, [A0 + D2.w + 0x16] 00000462 6208 bhi +0xA /* 0000046C */ 00000464 B441 cmp.w D2, D1 00000466 6704 beq +0x6 /* 0000046C */ 00000468 5230 2016 addq.b [A0 + D2.w + 0x16], 1 label0000046C: 0000046C 51CA FFF0 dbf D2, -0x12 /* 0000045E */ 00000470 3801 move.w D4, D1 00000472 0044 8000 ori.w D4, 0x8000 label00000476: 00000476 554F subq.w A7, 2 00000478 A994 syscall CurResFile 0000047A 2053 movea.l A0, [A3] 0000047C 3F10 move.w -[A7], [A0] 0000047E 3F17 move.w -[A7], [A7] 00000480 A998 syscall UseResFile 00000482 594F subq.w A7, 4 00000484 2F3C 534D 4150 move.l -[A7], 0x534D4150 /* 'SMAP' */ 0000048A 4267 clr.w -[A7] 0000048C A81F syscall Get1Resource 0000048E 2257 movea.l A1, [A7] 00000490 2251 movea.l A1, [A1] 00000492 2053 movea.l A0, [A3] 00000494 41E8 0016 lea.l A0, [A0 + 0x16] 00000498 7040 moveq.l D0, 0x40 0000049A E540 asl D0.w, 2 0000049C A02E syscall BlockMove/BlockMoveData 0000049E 2F17 move.l -[A7], [A7] 000004A0 A9AA syscall ChangedResource 000004A2 A9B0 syscall WriteResource 000004A4 A999 syscall UpdateResFile 000004A6 A998 syscall UseResFile 000004A8 70FF moveq.l D0, 0xFFFFFFFF label000004AA: 000004AA 4E75 rts fn000004AC: 000004AC 6100 FF5E bsr -0xA0 /* 0000040C */ 000004B0 67F8 beq -0x6 /* 000004AA */ 000004B2 1020 move.b D0, -[A0] 000004B4 4210 clr.b [A0] 000004B6 323C 00FF move.w D1, 0xFF 000004BA 2053 movea.l A0, [A3] 000004BC 41E8 0016 lea.l A0, [A0 + 0x16] label000004C0: 000004C0 B018 cmp.b D0, [A0]+ 000004C2 6204 bhi +0x6 /* 000004C8 */ 000004C4 5328 FFFF subq.b [A0 - 0x1], 1 label000004C8: 000004C8 51C9 FFF6 dbf D1, -0xC /* 000004C0 */ 000004CC 60A8 bra -0x56 /* 00000476 */ fn000004CE: 000004CE 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7 000004D2 3E01 move.w D7, D1 000004D4 4A40 tst.w D0 000004D6 6752 beq +0x54 /* 0000052A */ 000004D8 6100 FF32 bsr -0xCC /* 0000040C */ 000004DC 3600 move.w D3, D0 000004DE 4227 clr.b -[A7] 000004E0 A99B syscall SetResLoad 000004E2 554F subq.w A7, 2 000004E4 A81C syscall Count1Types 000004E6 381F move.w D4, [A7]+ 000004E8 7A00 moveq.l D5, 0x00 000004EA 7C00 moveq.l D6, 0x00 label000004EC: 000004EC 5246 addq.w D6, 1 000004EE 514F subq.w A7, 8 000004F0 2F0F move.l -[A7], A7 000004F2 3F06 move.w -[A7], D6 000004F4 A80F syscall Get1IndType/Get1IxType 000004F6 3F03 move.w -[A7], D3 000004F8 A81F syscall Get1Resource 000004FA 201F move.l D0, [A7]+ 000004FC 6706 beq +0x8 /* 00000504 */ 000004FE 5245 addq.w D5, 1 00000500 BE45 cmp.w D7, D5 00000502 6712 beq +0x14 /* 00000516 */ label00000504: 00000504 B846 cmp.w D4, D6 00000506 6EE4 bgt -0x1A /* 000004EC */ 00000508 7000 moveq.l D0, 0x00 label0000050A: 0000050A 50E7 st -[A7] 0000050C A99B syscall SetResLoad 0000050E 3205 move.w D1, D5 00000510 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+ 00000514 4E75 rts label00000516: 00000516 594F subq.w A7, 4 00000518 2F0F move.l -[A7], A7 0000051A 3F06 move.w -[A7], D6 0000051C A80F syscall Get1IndType/Get1IxType 0000051E 201F move.l D0, [A7]+ 00000520 60E8 bra -0x16 /* 0000050A */ fn00000522: 00000522 72FF moveq.l D1, 0xFFFFFFFF 00000524 61A8 bsr -0x56 /* 000004CE */ 00000526 3001 move.w D0, D1 00000528 4E75 rts label0000052A: 0000052A 7A00 moveq.l D5, 0x00 0000052C 4AB8 0960 tst.l [0x00000960 /* ScrapSize/ScrapInfo/ScrapVars */] 00000530 672E beq +0x30 /* 00000560 */ 00000532 4A78 096A tst.w [0x0000096A /* ScrapState */] 00000536 672C beq +0x2E /* 00000564 */ 00000538 6B26 bmi +0x28 /* 00000560 */ 0000053A 2078 0964 movea.l A0, [0x00000964 /* ScrapHandle */] 0000053E 2050 movea.l A0, [A0] 00000540 2208 move.l D1, A0 label00000542: 00000542 2018 move.l D0, [A0]+ 00000544 D1D8 add.l A0, [A0]+ 00000546 2C08 move.l D6, A0 00000548 5286 addq.l D6, 1 0000054A 0886 0000 bclr.b D6, 0x0 0000054E 2046 movea.l A0, D6 00000550 5245 addq.w D5, 1 00000552 BE45 cmp.w D7, D5 00000554 67B4 beq -0x4A /* 0000050A */ 00000556 2408 move.l D2, A0 00000558 9481 sub.l D2, D1 0000055A B4B8 0960 cmp.l D2, [0x00000960 /* ScrapSize/ScrapInfo/ScrapVars */] 0000055E 6DE2 blt -0x1C /* 00000542 */ label00000560: 00000560 7000 moveq.l D0, 0x00 00000562 60A6 bra -0x58 /* 0000050A */ label00000564: 00000564 700F moveq.l D0, 0x0F label00000566: 00000566 42A7 clr.l -[A7] 00000568 51C8 FFFC dbf D0, -0x6 /* 00000566 */ 0000056C 204F movea.l A0, A7 0000056E 2178 096C 0012 move.l [A0 + 0x12], [0x0000096C /* ScrapName */] 00000574 3178 0210 0016 move.w [A0 + 0x16], [0x00000210 /* BootDrive */] 0000057A A000 syscall Open/PBHOpen/HOpen 0000057C 6706 beq +0x8 /* 00000584 */ 0000057E 0C40 FFCF cmpi.w D0, 0xFFCF 00000582 6644 bne +0x46 /* 000005C8 */ label00000584: 00000584 41E8 0020 lea.l A0, [A0 + 0x20] 00000588 43FA 065A lea.l A1, [PC + 0x65A /* 00000BE4, value 0x0, cstring "" */] 0000058C 20C9 move.l [A0]+, A1 0000058E 7008 moveq.l D0, 0x08 00000590 20C0 move.l [A0]+, D0 00000592 4298 clr.l [A0]+ 00000594 30FC 0001 move.w [A0]+, 0x1 00000598 4298 clr.l [A0]+ 0000059A 204F movea.l A0, A7 label0000059C: 0000059C A002 syscall Read 0000059E 6628 bne +0x2A /* 000005C8 */ 000005A0 4CFA 0003 0640 movem.l D0,D1, [PC + 0x640 /* 00000BE2, value 0x40000, cstring "" */] 000005A6 5281 addq.l D1, 1 000005A8 0881 0000 bclr.b D1, 0x0 000005AC D3A8 002E add.l [A0 + 0x2E], D1 000005B0 5245 addq.w D5, 1 000005B2 BE45 cmp.w D7, D5 000005B4 670A beq +0xC /* 000005C0 */ 000005B6 2228 002E move.l D1, [A0 + 0x2E] 000005BA B2B8 0960 cmp.l D1, [0x00000960 /* ScrapSize/ScrapInfo/ScrapVars */] 000005BE 6DDC blt -0x22 /* 0000059C */ label000005C0: 000005C0 4FEF 0040 lea.l A7, [A7 + 0x40] 000005C4 6000 FF44 bra -0xBA /* 0000050A */ label000005C8: 000005C8 7A00 moveq.l D5, 0x00 000005CA 7000 moveq.l D0, 0x00 000005CC 60F2 bra -0xC /* 000005C0 */ fn000005CE: 000005CE 514F subq.w A7, 8 000005D0 206C 001E movea.l A0, [A4 + 0x1E] 000005D4 2EA8 0010 move.l [A7], [A0 + 0x10] 000005D8 2F68 0014 0004 move.l [A7 + 0x4], [A0 + 0x14] 000005DE 046F 0030 0004 subi.w [A7 + 0x4], 0x30 /* '0' */ 000005E4 2F0F move.l -[A7], A7 000005E6 2F3C 0005 0005 move.l -[A7], 0x50005 000005EC 2F3C 0004 0004 move.l -[A7], 0x40004 000005F2 A89B syscall PenSize 000005F4 A8A9 syscall InsetRect 000005F6 2F0F move.l -[A7], A7 000005F8 A8A1 syscall FrameRect 000005FA A89E syscall PenNormal 000005FC 2F0F move.l -[A7], A7 000005FE 2F3C 0006 0006 move.l -[A7], 0x60006 00000604 A8A9 syscall InsetRect 00000606 2F0F move.l -[A7], A7 00000608 A8A1 syscall FrameRect 0000060A 504F addq.w A7, 8 0000060C 4E75 rts fn0000060E: 0000060E 2053 movea.l A0, [A3] 00000610 4A68 0008 tst.w [A0 + 0x8] 00000614 673E beq +0x40 /* 00000654 */ 00000616 4267 clr.w -[A7] 00000618 A889 syscall TextMode 0000061A 617E bsr +0x80 /* 0000069A */ 0000061C 2F3C 00F4 0012 move.l -[A7], 0xF40012 00000622 A893 syscall MoveTo 00000624 6100 032A bsr +0x32C /* 00000950 */ 00000628 6138 bsr +0x3A /* 00000662 */ 0000062A 487A 05B2 pea.l [PC + 0x5B2 /* 00000BDE, value 0x3202F20, pstring " / " */] 0000062E A884 syscall DrawString 00000630 2053 movea.l A0, [A3] 00000632 3028 0008 move.w D0, [A0 + 0x8] 00000636 612A bsr +0x2C /* 00000662 */ 00000638 2F3A 0590 move.l -[A7], [PC + 0x590 /* 00000BCA, value 0xF80048, cstring "" */] 0000063C 594F subq.w A7, 4 0000063E 2F0F move.l -[A7], A7 00000640 A89A syscall GetPen 00000642 3EBA 0582 move.w [A7], [PC + 0x582 /* 00000BC6, value 0xE8, cstring "" */] 00000646 2F0F move.l -[A7], A7 00000648 A8A3 syscall EraseRect 0000064A 504F addq.w A7, 8 0000064C 3F3C 0001 move.w -[A7], 0x1 00000650 A889 syscall TextMode 00000652 4E75 rts label00000654: 00000654 487A 0570 pea.l [PC + 0x570 /* 00000BC6, value 0xE8000C, cstring "" */] 00000658 A8A3 syscall EraseRect 0000065A 487A 0572 pea.l [PC + 0x572 /* 00000BCE, value 0xEA00FA, cstring "" */] 0000065E A8A3 syscall EraseRect 00000660 4E75 rts fn00000662: 00000662 3F03 move.w -[A7], D3 00000664 7600 moveq.l D3, 0x00 00000666 48C0 ext.l D0 00000668 80FC 0064 divu.w D0, 0x64 /* 'd' */ 0000066C 6122 bsr +0x24 /* 00000690 */ 0000066E 4840 swap.w D0 00000670 48C0 ext.l D0 00000672 80FC 000A divu.w D0, 0xA /* '\n' */ 00000676 6118 bsr +0x1A /* 00000690 */ 00000678 4840 swap.w D0 0000067A 6104 bsr +0x6 /* 00000680 */ 0000067C 361F move.w D3, [A7]+ 0000067E 4E75 rts fn00000680: 00000680 50C3 st D3 00000682 2F00 move.l -[A7], D0 00000684 0040 0030 ori.w D0, 0x30 /* '0' */ 00000688 3F00 move.w -[A7], D0 0000068A A883 syscall DrawChar 0000068C 201F move.l D0, [A7]+ 0000068E 4E75 rts fn00000690: 00000690 4A40 tst.w D0 00000692 66EC bne -0x12 /* 00000680 */ 00000694 4A03 tst.b D3 00000696 66E8 bne -0x16 /* 00000680 */ 00000698 4E75 rts fn0000069A: 0000069A 48E7 1C00 movem.l -[A7], D3,D4,D5 0000069E 6100 02B0 bsr +0x2B2 /* 00000950 */ 000006A2 3600 move.w D3, D0 000006A4 6100 FE7C bsr -0x182 /* 00000522 */ 000006A8 3800 move.w D4, D0 000006AA 7A00 moveq.l D5, 0x00 000006AC C0FC 001E mulu.w D0, 0x1E 000006B0 323A 0522 move.w D1, [PC + 0x522 /* 00000BD4, value 0x174 */] 000006B4 9240 sub.w D1, D0 000006B6 3F01 move.w -[A7], D1 000006B8 3F3C 00F4 move.w -[A7], 0xF4 000006BC A893 syscall MoveTo 000006BE 487A 050E pea.l [PC + 0x50E /* 00000BCE, value 0xEA00FA, cstring "" */] 000006C2 A8A3 syscall EraseRect label000006C4: 000006C4 5245 addq.w D5, 1 000006C6 3003 move.w D0, D3 000006C8 3205 move.w D1, D5 000006CA 6100 FE02 bsr -0x1FC /* 000004CE */ 000006CE 41FA 0513 lea.l A0, [PC + 0x513 /* 00000BE3, value 0x4000000 */] 000006D2 2140 0001 move.l [A0 + 0x1], D0 000006D6 2F08 move.l -[A7], A0 000006D8 A884 syscall DrawString 000006DA B845 cmp.w D4, D5 000006DC 6F08 ble +0xA /* 000006E6 */ 000006DE 487A 050C pea.l [PC + 0x50C /* 00000BEC, value 0x22C2000, pstring ", " */] 000006E2 A884 syscall DrawString 000006E4 60DE bra -0x20 /* 000006C4 */ label000006E6: 000006E6 4CDF 0038 movem.l D3,D4,D5, [A7]+ 000006EA 4E75 rts fn000006EC: 000006EC 2F2C 001E move.l -[A7], [A4 + 0x1E] 000006F0 2F17 move.l -[A7], [A7] 000006F2 A873 syscall SetPort 000006F4 2057 movea.l A0, [A7] 000006F6 4868 0010 pea.l [A0 + 0x10] 000006FA A87B syscall ClipRect 000006FC A969 syscall DrawControls 000006FE 6100 FECE bsr -0x130 /* 000005CE */ fn00000702: 00000702 4E56 FFF8 link A6, -0x0008 00000706 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3 0000070A 554F subq.w A7, 2 0000070C A994 syscall CurResFile 0000070E 2053 movea.l A0, [A3] 00000710 3F10 move.w -[A7], [A0] 00000712 A998 syscall UseResFile 00000714 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 00000718 A88A syscall TextSize 0000071A 6100 FEF2 bsr -0x10C /* 0000060E */ 0000071E 3F3C 000C move.w -[A7], 0xC 00000722 A88A syscall TextSize 00000724 487A 0484 pea.l [PC + 0x484 /* 00000BAA, value 0x100010, cstring "" */] 00000728 A87B syscall ClipRect 0000072A 4267 clr.w -[A7] 0000072C 2053 movea.l A0, [A3] 0000072E 4A28 000A tst.b [A0 + 0xA] 00000732 6600 00FC bne +0xFE /* 00000830 */ 00000736 4A68 0008 tst.w [A0 + 0x8] 0000073A 6700 00B4 beq +0xB6 /* 000007F0 */ 0000073E 6100 0210 bsr +0x212 /* 00000950 */ 00000742 6100 FCC8 bsr -0x336 /* 0000040C */ 00000746 3800 move.w D4, D0 00000748 594F subq.w A7, 4 0000074A 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */ 00000750 3F04 move.w -[A7], D4 00000752 A81F syscall Get1Resource 00000754 2017 move.l D0, [A7] 00000756 6700 0128 beq +0x12A /* 00000880 */ 0000075A 2440 movea.l A2, D0 0000075C 204A movea.l A0, A2 0000075E A04A syscall HNoPurge 00000760 223C 0000 0ED8 move.l D1, 0xED8 00000766 2001 move.l D0, D1 00000768 A04C syscall CompactMem 0000076A B081 cmp.l D0, D1 0000076C 6C06 bge +0x8 /* 00000774 */ 0000076E 2001 move.l D0, D1 00000770 A04D syscall PurgeMem 00000772 6670 bne +0x72 /* 000007E4 */ label00000774: 00000774 2052 movea.l A0, [A2] 00000776 5448 addq.w A0, 2 00000778 3A28 0006 move.w D5, [A0 + 0x6] 0000077C 9A68 0002 sub.w D5, [A0 + 0x2] 00000780 3C28 0004 move.w D6, [A0 + 0x4] 00000784 9C50 sub.w D6, [A0] 00000786 486E FFF8 pea.l [A6 - 0x8] 0000078A 2F17 move.l -[A7], [A7] 0000078C 2257 movea.l A1, [A7] 0000078E 22D8 move.l [A1]+, [A0]+ 00000790 22D8 move.l [A1]+, [A0]+ 00000792 9A7A 042E sub.w D5, [PC + 0x42E /* 00000BC2, value 0x160 */] 00000796 9C7A 042C sub.w D6, [PC + 0x42C /* 00000BC4, value 0xB0, cstring "" */] 0000079A 4445 neg.w D5 0000079C 4446 neg.w D6 0000079E 41EE FFF8 lea.l A0, [A6 - 0x8] 000007A2 E245 asr D5.w, 1 000007A4 9A68 0002 sub.w D5, [A0 + 0x2] 000007A8 DA7A 0402 add.w D5, [PC + 0x402 /* 00000BAC, value 0x10, cstring "" */] 000007AC 3F05 move.w -[A7], D5 000007AE E246 asr D6.w, 1 000007B0 9C50 sub.w D6, [A0] 000007B2 DC7A 03F6 add.w D6, [PC + 0x3F6 /* 00000BAA, value 0x10, cstring "" */] 000007B6 3F06 move.w -[A7], D6 000007B8 A8A8 syscall OffsetRect 000007BA 487A 03EE pea.l [PC + 0x3EE /* 00000BAA, value 0x100010, cstring "" */] 000007BE A8A3 syscall EraseRect 000007C0 A8F6 syscall DrawPicture 000007C2 204A movea.l A0, A2 000007C4 A049 syscall HPurge label000007C6: 000007C6 2055 movea.l A0, [A5] 000007C8 2050 movea.l A0, [A0] 000007CA 4868 0010 pea.l [A0 + 0x10] 000007CE A87B syscall ClipRect 000007D0 2053 movea.l A0, [A3] 000007D2 42A8 0010 clr.l [A0 + 0x10] 000007D6 2F28 000C move.l -[A7], [A0 + 0xC] 000007DA A958 syscall HideControl label000007DC: 000007DC 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+ 000007E0 4E5E unlink A6 000007E2 4E75 rts label000007E4: 000007E4 204A movea.l A0, A2 000007E6 A049 syscall HPurge 000007E8 584F addq.w A7, 4 000007EA 7004 moveq.l D0, 0x04 label000007EC: 000007EC 6108 bsr +0xA /* 000007F6 */ 000007EE 60D6 bra -0x28 /* 000007C6 */ label000007F0: 000007F0 544F addq.w A7, 2 000007F2 7000 moveq.l D0, 0x00 000007F4 60F6 bra -0x8 /* 000007EC */ fn000007F6: 000007F6 3F00 move.w -[A7], D0 000007F8 2F2C 001E move.l -[A7], [A4 + 0x1E] 000007FC A873 syscall SetPort 000007FE 487A 03AA pea.l [PC + 0x3AA /* 00000BAA, value 0x100010, cstring "" */] 00000802 A8A3 syscall EraseRect 00000804 4267 clr.w -[A7] 00000806 A887 syscall TextFont 00000808 301F move.w D0, [A7]+ 0000080A 612A bsr +0x2C /* 00000836 */ 0000080C 2250 movea.l A1, [A0] 0000080E D3C0 add.l A1, D0 00000810 2F08 move.l -[A7], A0 00000812 A029 syscall HLock 00000814 7000 moveq.l D0, 0x00 00000816 1019 move.b D0, [A1]+ 00000818 2F09 move.l -[A7], A1 0000081A 2F00 move.l -[A7], D0 0000081C 487A 0394 pea.l [PC + 0x394 /* 00000BB2, value 0x300030 '0\00', cstring "" */] 00000820 4267 clr.w -[A7] 00000822 A9CE syscall TETextBox/TextBox 00000824 205F movea.l A0, [A7]+ 00000826 A02A syscall HUnlock 00000828 3F3C 0001 move.w -[A7], 0x1 0000082C A887 syscall TextFont 0000082E 4E75 rts label00000830: 00000830 544F addq.w A7, 2 00000832 7001 moveq.l D0, 0x01 00000834 60B6 bra -0x48 /* 000007EC */ fn00000836: 00000836 3F00 move.w -[A7], D0 00000838 7000 moveq.l D0, 0x00 0000083A 612E bsr +0x30 /* 0000086A */ 0000083C 594F subq.w A7, 4 0000083E 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */ 00000844 3F00 move.w -[A7], D0 00000846 A9A0 syscall GetResource 00000848 2057 movea.l A0, [A7] 0000084A A029 syscall HLock 0000084C 2050 movea.l A0, [A0] 0000084E 5448 addq.w A0, 2 00000850 7000 moveq.l D0, 0x00 00000852 322F 0004 move.w D1, [A7 + 0x4] label00000856: 00000856 6708 beq +0xA /* 00000860 */ 00000858 1018 move.b D0, [A0]+ 0000085A D0C0 add.w A0, D0 0000085C 5341 subq.w D1, 1 0000085E 60F6 bra -0x8 /* 00000856 */ label00000860: 00000860 2008 move.l D0, A0 00000862 205F movea.l A0, [A7]+ 00000864 9090 sub.l D0, [A0] 00000866 544F addq.w A7, 2 00000868 4E75 rts fn0000086A: 0000086A 0040 C000 ori.w D0, 0xC000 0000086E 322C 0018 move.w D1, [A4 + 0x18] 00000872 4641 not.w D1 00000874 EB49 lsl D1.w, 5 00000876 8041 or.w D0, D1 00000878 4E75 rts label0000087A: 0000087A 7002 moveq.l D0, 0x02 0000087C 6000 FF6E bra -0x90 /* 000007EC */ label00000880: 00000880 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */ 00000886 3F04 move.w -[A7], D4 00000888 A81F syscall Get1Resource 0000088A 201F move.l D0, [A7]+ 0000088C 671C beq +0x1E /* 000008AA */ 0000088E 2040 movea.l A0, D0 00000890 A025 syscall GetHandleSize 00000892 2F08 move.l -[A7], A0 00000894 2F10 move.l -[A7], [A0] 00000896 2F00 move.l -[A7], D0 00000898 487A 0310 pea.l [PC + 0x310 /* 00000BAA, value 0x100010, cstring "" */] 0000089C 4267 clr.w -[A7] 0000089E A029 syscall HLock 000008A0 A9CE syscall TETextBox/TextBox 000008A2 205F movea.l A0, [A7]+ 000008A4 A02A syscall HUnlock 000008A6 6000 FF1E bra -0xE0 /* 000007C6 */ label000008AA: 000008AA 2055 movea.l A0, [A5] 000008AC 2050 movea.l A0, [A0] 000008AE 4868 0010 pea.l [A0 + 0x10] 000008B2 A87B syscall ClipRect 000008B4 594F subq.w A7, 4 000008B6 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */ 000008BC 3F04 move.w -[A7], D4 000008BE A81F syscall Get1Resource 000008C0 201F move.l D0, [A7]+ 000008C2 67B6 beq -0x48 /* 0000087A */ 000008C4 2053 movea.l A0, [A3] 000008C6 2140 0010 move.l [A0 + 0x10], D0 000008CA 2F28 000C move.l -[A7], [A0 + 0xC] 000008CE A957 syscall ShowControl 000008D0 487A 02D8 pea.l [PC + 0x2D8 /* 00000BAA, value 0x100010, cstring "" */] 000008D4 A8A3 syscall EraseRect 000008D6 594F subq.w A7, 4 000008D8 2F3C 4943 4F4E move.l -[A7], 0x49434F4E /* 'ICON' */ 000008DE 3F3C BF95 move.w -[A7], 0xBF95 000008E2 A9A0 syscall GetResource 000008E4 201F move.l D0, [A7]+ 000008E6 6708 beq +0xA /* 000008F0 */ 000008E8 487A 02D0 pea.l [PC + 0x2D0 /* 00000BBA, value 0x5400B0, cstring "" */] 000008EC 2F00 move.l -[A7], D0 000008EE A94B syscall PlotIcon label000008F0: 000008F0 6000 FEEA bra -0x114 /* 000007DC */ fn000008F4: 000008F4 0C40 0003 cmpi.w D0, 0x3 000008F8 6E1C bgt +0x1E /* 00000916 */ 000008FA 2053 movea.l A0, [A3] 000008FC 4A28 000A tst.b [A0 + 0xA] 00000900 6614 bne +0x16 /* 00000916 */ 00000902 D040 add.w D0, D0 00000904 41FA 0012 lea.l A0, [PC + 0x12 /* 00000918, value 0x80140, cstring "" */] 00000908 D0F0 0000 add.w A0, [A0 + D0.w] 0000090C 4E90 jsr [A0] fn0000090E: 0000090E 6152 bsr +0x54 /* 00000962 */ 00000910 A013 syscall FlushVol 00000912 4FEF 0040 lea.l A7, [A7 + 0x40] label00000916: 00000916 4E75 rts 00000918 0008 0140 ori.b A0, 0x40 /* '@' */ 0000091C 0058 01BE ori.w [A0]+, 0x1BE 00000920 6100 0136 bsr +0x138 /* 00000A58 */ 00000924 6000 01B0 bra +0x1B2 /* 00000AD6 */ fn00000928: 00000928 2F2C 001E move.l -[A7], [A4 + 0x1E] 0000092C A873 syscall SetPort 0000092E 487A 027A pea.l [PC + 0x27A /* 00000BAA, value 0x100010, cstring "" */] 00000932 A928 syscall InvalRect 00000934 487A 0290 pea.l [PC + 0x290 /* 00000BC6, value 0xE8000C, cstring "" */] 00000938 A928 syscall InvalRect 0000093A 487A 0292 pea.l [PC + 0x292 /* 00000BCE, value 0xEA00FA, cstring "" */] 0000093E A928 syscall InvalRect 00000940 2053 movea.l A0, [A3] 00000942 2068 000C movea.l A0, [A0 + 0xC] 00000946 2050 movea.l A0, [A0] 00000948 4868 0008 pea.l [A0 + 0x8] 0000094C A928 syscall InvalRect 0000094E 4E75 rts fn00000950: 00000950 554F subq.w A7, 2 00000952 2053 movea.l A0, [A3] 00000954 2F28 0002 move.l -[A7], [A0 + 0x2] 00000958 A960 syscall GetControlValue/GetCtlValue 0000095A 301F move.w D0, [A7]+ 0000095C 6602 bne +0x4 /* 00000960 */ 0000095E 7001 moveq.l D0, 0x01 label00000960: 00000960 4E75 rts fn00000962: 00000962 225F movea.l A1, [A7]+ 00000964 701F moveq.l D0, 0x1F label00000966: 00000966 4267 clr.w -[A7] 00000968 51C8 FFFC dbf D0, -0x6 /* 00000966 */ 0000096C 204F movea.l A0, A7 0000096E 4ED1 jmp [A1] 00000970 4AB8 0960 tst.l [0x00000960 /* ScrapSize/ScrapInfo/ScrapVars */] 00000974 67EA beq -0x14 /* 00000960 */ 00000976 48E7 1F20 movem.l -[A7], D3,D4,D5,D6,D7,A2 0000097A 2053 movea.l A0, [A3] 0000097C 0C68 0100 0008 cmpi.w [A0 + 0x8], 0x100 00000982 6C76 bge +0x78 /* 000009FA */ 00000984 6100 FABC bsr -0x542 /* 00000442 */ 00000988 6770 beq +0x72 /* 000009FA */ 0000098A 554F subq.w A7, 2 0000098C A994 syscall CurResFile 0000098E 2053 movea.l A0, [A3] 00000990 3F10 move.w -[A7], [A0] 00000992 A998 syscall UseResFile 00000994 7000 moveq.l D0, 0x00 00000996 7E00 moveq.l D7, 0x00 00000998 6100 FB88 bsr -0x476 /* 00000522 */ 0000099C 3A00 move.w D5, D0 0000099E 6714 beq +0x16 /* 000009B4 */ 000009A0 7C00 moveq.l D6, 0x00 label000009A2: 000009A2 5246 addq.w D6, 1 000009A4 7000 moveq.l D0, 0x00 000009A6 3206 move.w D1, D6 000009A8 6100 FB24 bsr -0x4DA /* 000004CE */ 000009AC 2600 move.l D3, D0 000009AE 6166 bsr +0x68 /* 00000A16 */ 000009B0 BC45 cmp.w D6, D5 000009B2 6DEE blt -0x10 /* 000009A2 */ label000009B4: 000009B4 4A47 tst.w D7 000009B6 6612 bne +0x14 /* 000009CA */ 000009B8 2053 movea.l A0, [A3] 000009BA 5368 0008 subq.w [A0 + 0x8], 1 000009BE 6190 bsr -0x6E /* 00000950 */ 000009C0 6100 FAEA bsr -0x514 /* 000004AC */ 000009C4 A998 syscall UseResFile 000009C6 6138 bsr +0x3A /* 00000A00 */ 000009C8 602A bra +0x2C /* 000009F4 */ label000009CA: 000009CA 2053 movea.l A0, [A3] 000009CC 3F10 move.w -[A7], [A0] 000009CE A999 syscall UpdateResFile 000009D0 A998 syscall UseResFile 000009D2 2053 movea.l A0, [A3] 000009D4 2F28 0002 move.l -[A7], [A0 + 0x2] 000009D8 3F28 0008 move.w -[A7], [A0 + 0x8] 000009DC A965 syscall SetControlMaximum/SetMaxCtl 000009DE 2053 movea.l A0, [A3] 000009E0 0C68 0002 0008 cmpi.w [A0 + 0x8], 0x2 000009E6 6D08 blt +0xA /* 000009F0 */ 000009E8 2F28 0002 move.l -[A7], [A0 + 0x2] 000009EC 4267 clr.w -[A7] 000009EE A95D syscall HiliteControl label000009F0: 000009F0 6100 FF36 bsr -0xC8 /* 00000928 */ label000009F4: 000009F4 4CDF 04F8 movem.l D3,D4,D5,D6,D7,A2, [A7]+ 000009F8 4E75 rts label000009FA: 000009FA 7006 moveq.l D0, 0x06 000009FC 6104 bsr +0x6 /* 00000A02 */ 000009FE 60F4 bra -0xA /* 000009F4 */ fn00000A00: 00000A00 7005 moveq.l D0, 0x05 fn00000A02: 00000A02 6100 FDF2 bsr -0x20C /* 000007F6 */ 00000A06 3F3C 0006 move.w -[A7], 0x6 00000A0A A9C8 syscall SysBeep 00000A0C 307C 00F0 movea.w A0, 0xF0 00000A10 A03B syscall Delay 00000A12 6000 FCEE bra -0x310 /* 00000702 */ fn00000A16: 00000A16 700C moveq.l D0, 0x0C 00000A18 A122 syscall NewHandle, flags=1 00000A1A 2448 movea.l A2, A0 00000A1C 594F subq.w A7, 4 00000A1E 2F0A move.l -[A7], A2 00000A20 2F03 move.l -[A7], D3 00000A22 4878 09FA push.l 0x9FA 00000A26 A9FD syscall GetScrap 00000A28 4A9F tst.l [A7]+ 00000A2A 6D26 blt +0x28 /* 00000A52 */ 00000A2C 2F0A move.l -[A7], A2 00000A2E 2F03 move.l -[A7], D3 00000A30 3F04 move.w -[A7], D4 00000A32 487A 016C pea.l [PC + 0x16C /* 00000BA0, value 0xD0, cstring "" */] 00000A36 A9AB syscall AddResource 00000A38 4A78 0A60 tst.w [0x00000A60 /* ResErr */] 00000A3C 660E bne +0x10 /* 00000A4C */ 00000A3E 5247 addq.w D7, 1 00000A40 2F0A move.l -[A7], A2 00000A42 3F3C 0022 move.w -[A7], 0x22 /* '\"' */ 00000A46 A9A7 syscall SetResAttrs 00000A48 2F0A move.l -[A7], A2 00000A4A A9B0 syscall WriteResource label00000A4C: 00000A4C 204A movea.l A0, A2 00000A4E A049 syscall HPurge 00000A50 4E75 rts label00000A52: 00000A52 204A movea.l A0, A2 00000A54 A023 syscall DisposHandle/DisposeHandle 00000A56 4E75 rts fn00000A58: 00000A58 48E7 1E00 movem.l -[A7], D3,D4,D5,D6 00000A5C 554F subq.w A7, 2 00000A5E A994 syscall CurResFile 00000A60 2053 movea.l A0, [A3] 00000A62 3F10 move.w -[A7], [A0] 00000A64 A998 syscall UseResFile 00000A66 2053 movea.l A0, [A3] 00000A68 4A68 0008 tst.w [A0 + 0x8] 00000A6C 672E beq +0x30 /* 00000A9C */ 00000A6E 594F subq.w A7, 4 00000A70 A9FC syscall ZeroScrap 00000A72 584F addq.w A7, 4 00000A74 612E bsr +0x30 /* 00000AA4 */ 00000A76 4A44 tst.w D4 00000A78 6722 beq +0x24 /* 00000A9C */ label00000A7A: 00000A7A 6140 bsr +0x42 /* 00000ABC */ 00000A7C 671A beq +0x1C /* 00000A98 */ 00000A7E 2040 movea.l A0, D0 00000A80 2F00 move.l -[A7], D0 00000A82 A025 syscall GetHandleSize 00000A84 594F subq.w A7, 4 00000A86 2F00 move.l -[A7], D0 00000A88 2F06 move.l -[A7], D6 00000A8A 2F10 move.l -[A7], [A0] 00000A8C A029 syscall HLock 00000A8E A9FE syscall PutScrap 00000A90 584F addq.w A7, 4 00000A92 205F movea.l A0, [A7]+ 00000A94 A02A syscall HUnlock 00000A96 A049 syscall HPurge label00000A98: 00000A98 BA44 cmp.w D5, D4 00000A9A 6DDE blt -0x20 /* 00000A7A */ label00000A9C: 00000A9C A998 syscall UseResFile 00000A9E 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+ 00000AA2 4E75 rts fn00000AA4: 00000AA4 6100 FEAA bsr -0x154 /* 00000950 */ 00000AA8 3F00 move.w -[A7], D0 00000AAA 6100 F960 bsr -0x69E /* 0000040C */ 00000AAE 3600 move.w D3, D0 00000AB0 301F move.w D0, [A7]+ 00000AB2 6100 FA6E bsr -0x590 /* 00000522 */ 00000AB6 3800 move.w D4, D0 00000AB8 7A00 moveq.l D5, 0x00 00000ABA 4E75 rts fn00000ABC: 00000ABC 5245 addq.w D5, 1 fn00000ABE: 00000ABE 6100 FE90 bsr -0x16E /* 00000950 */ 00000AC2 3205 move.w D1, D5 00000AC4 6100 FA08 bsr -0x5F6 /* 000004CE */ 00000AC8 2C00 move.l D6, D0 00000ACA 594F subq.w A7, 4 00000ACC 2F06 move.l -[A7], D6 00000ACE 3F03 move.w -[A7], D3 00000AD0 A81F syscall Get1Resource 00000AD2 201F move.l D0, [A7]+ 00000AD4 4E75 rts label00000AD6: 00000AD6 2053 movea.l A0, [A3] 00000AD8 4A28 000B tst.b [A0 + 0xB] 00000ADC 6600 FF22 bne -0xDC /* 00000A00 */ 00000AE0 48E7 1E00 movem.l -[A7], D3,D4,D5,D6 00000AE4 554F subq.w A7, 2 00000AE6 A994 syscall CurResFile 00000AE8 2053 movea.l A0, [A3] 00000AEA 3F10 move.w -[A7], [A0] 00000AEC 3F17 move.w -[A7], [A7] 00000AEE A998 syscall UseResFile 00000AF0 2053 movea.l A0, [A3] 00000AF2 4A68 0008 tst.w [A0 + 0x8] 00000AF6 6750 beq +0x52 /* 00000B48 */ 00000AF8 61AA bsr -0x54 /* 00000AA4 */ 00000AFA 4A44 tst.w D4 00000AFC 674A beq +0x4C /* 00000B48 */ label00000AFE: 00000AFE 4227 clr.b -[A7] 00000B00 A99B syscall SetResLoad 00000B02 7A01 moveq.l D5, 0x01 00000B04 61B8 bsr -0x46 /* 00000ABE */ 00000B06 6704 beq +0x6 /* 00000B0C */ 00000B08 2F00 move.l -[A7], D0 00000B0A A9AD syscall RemoveResource/RmveResource label00000B0C: 00000B0C 5344 subq.w D4, 1 00000B0E 6EEE bgt -0x10 /* 00000AFE */ 00000B10 50E7 st -[A7] 00000B12 A99B syscall SetResLoad 00000B14 6100 FE3A bsr -0x1C4 /* 00000950 */ 00000B18 6100 F992 bsr -0x66C /* 000004AC */ 00000B1C 2053 movea.l A0, [A3] 00000B1E 5368 0008 subq.w [A0 + 0x8], 1 00000B22 0C68 0002 0008 cmpi.w [A0 + 0x8], 0x2 00000B28 6C0A bge +0xC /* 00000B34 */ 00000B2A 2F28 0002 move.l -[A7], [A0 + 0x2] 00000B2E 3F3C 00FF move.w -[A7], 0xFF 00000B32 A95D syscall HiliteControl label00000B34: 00000B34 2053 movea.l A0, [A3] 00000B36 3028 0008 move.w D0, [A0 + 0x8] 00000B3A 6708 beq +0xA /* 00000B44 */ 00000B3C 2F28 0002 move.l -[A7], [A0 + 0x2] 00000B40 3F00 move.w -[A7], D0 00000B42 A965 syscall SetControlMaximum/SetMaxCtl label00000B44: 00000B44 6100 FDE2 bsr -0x21C /* 00000928 */ label00000B48: 00000B48 A999 syscall UpdateResFile 00000B4A A998 syscall UseResFile 00000B4C 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+ 00000B50 4E75 rts 00000B52 48E7 1810 movem.l -[A7], D3,D4,A3 00000B56 382F 0010 move.w D4, [A7 + 0x10] 00000B5A 673A beq +0x3C /* 00000B96 */ 00000B5C 7601 moveq.l D3, 0x01 00000B5E 0804 0000 btst.b D4, 0x0 00000B62 6602 bne +0x4 /* 00000B66 */ 00000B64 4443 neg.w D3 label00000B66: 00000B66 266C 0014 movea.l A3, [A4 + 0x14] 00000B6A 2053 movea.l A0, [A3] 00000B6C 6100 FDE2 bsr -0x21C /* 00000950 */ 00000B70 3800 move.w D4, D0 00000B72 D043 add.w D0, D3 00000B74 6720 beq +0x22 /* 00000B96 */ 00000B76 2053 movea.l A0, [A3] 00000B78 B068 0008 cmp.w D0, [A0 + 0x8] 00000B7C 6E18 bgt +0x1A /* 00000B96 */ 00000B7E 554F subq.w A7, 2 00000B80 2228 0002 move.l D1, [A0 + 0x2] 00000B84 2F01 move.l -[A7], D1 00000B86 2F01 move.l -[A7], D1 00000B88 3F00 move.w -[A7], D0 00000B8A A963 syscall SetControlValue/SetCtlValue 00000B8C A960 syscall GetControlValue/GetCtlValue 00000B8E B85F cmp.w D4, [A7]+ 00000B90 6704 beq +0x6 /* 00000B96 */ 00000B92 6100 FB6E bsr -0x490 /* 00000702 */ label00000B96: 00000B96 4CDF 0818 movem.l D3,D4,A3, [A7]+ 00000B9A 205F movea.l A0, [A7]+ 00000B9C 5C4F addq.w A7, 6 00000B9E 4ED0 jmp [A0] 00000BA0 0000 00D0 ori.b D0, 0xD0 00000BA4 000C 00E0 ori.b A4, 0xE0 00000BA8 0174 0010 bchg [A4 + D0.w + 0x10], D0 00000BAC 0010 00C0 ori.b [A0], 0xC0 00000BB0 0170 0030 bchg [A0 + D0.w + 0x30], D0 00000BB4 0030 00A0 0150 ori.b [A0], 0xA0 00000BBA 0054 00B0 ori.w [A4], 0xB0 00000BBE 0074 00D0 0160 00B0 ori.w [A4 + 0xB0], 0xD0 00000BC6 00E8 .incomplete 00000BC8 000C 00F8 ori.b A4, 0xF8 00000BCC 0048 00EA ori.w A0, 0xEA 00000BD0 00FA .incomplete 00000BD2 00F8 .incomplete 00000BD4 0174 00D0 bchg [A4 + D0.w - 0x48], D0 00000BD8 0010 00F8 ori.b [A0], 0xF8 00000BDC 0174 0320 2F20 bchg [A4 + 0x2F20 + D0 * 2], D0 00000BE2 0004 0000 ori.b D4, 0x0 00000BE6 0000 0000 ori.b D0, 0x0 00000BEA 0000 022C ori.b D0, 0x2C /* ',' */ 00000BEE 2000 move.l D0, D0 fn00000BF0: 00000BF0 205F movea.l A0, [A7]+ 00000BF2 341F move.w D2, [A7]+ 00000BF4 221F move.l D1, [A7]+ 00000BF6 2F08 move.l -[A7], A0 00000BF8 594F subq.w A7, 4 00000BFA 2F01 move.l -[A7], D1 00000BFC 3F02 move.w -[A7], D2 00000BFE A9A0 syscall GetResource 00000C00 201F move.l D0, [A7]+ 00000C02 674A beq +0x4C /* 00000C4E */ 00000C04 2040 movea.l A0, D0 00000C06 2050 movea.l A0, [A0] 00000C08 2278 09DE movea.l A1, [0x000009DE /* WMgrPort */] 00000C0C 2229 0014 move.l D1, [A1 + 0x14] 00000C10 92A9 0010 sub.l D1, [A1 + 0x10] 00000C14 2028 0004 move.l D0, [A0 + 0x4] 00000C18 9090 sub.l D0, [A0] 00000C1A 3401 move.w D2, D1 00000C1C 9440 sub.w D2, D0 00000C1E E24A lsr D2.w, 1 00000C20 4241 clr.w D1 00000C22 4841 swap.w D1 00000C24 4840 swap.w D0 00000C26 9240 sub.w D1, D0 00000C28 3038 0BAA move.w D0, [0x00000BAA /* MBarHeight */] 00000C2C 9240 sub.w D1, D0 00000C2E 9240 sub.w D1, D0 00000C30 82FC 0004 divu.w D1, 0x4 00000C34 2278 09DE movea.l A1, [0x000009DE /* WMgrPort */] 00000C38 D269 0010 add.w D1, [A1 + 0x10] 00000C3C D240 add.w D1, D0 00000C3E D240 add.w D1, D0 00000C40 4841 swap.w D1 00000C42 3202 move.w D1, D2 00000C44 9290 sub.l D1, [A0] 00000C46 D390 add.l [A0], D1 00000C48 D3A8 0004 add.l [A0 + 0x4], D1 00000C4C 2010 move.l D0, [A0] label00000C4E: 00000C4E 4E75 rts fn00000C50: 00000C50 4E56 0000 link A6, 0 00000C54 594F subq.w A7, 4 00000C56 2F2E 000A move.l -[A7], [A6 + 0xA] 00000C5A 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000C5E A9A0 syscall GetResource 00000C60 201F move.l D0, [A7]+ 00000C62 673C beq +0x3E /* 00000CA0 */ 00000C64 2040 movea.l A0, D0 00000C66 3238 0BAA move.w D1, [0x00000BAA /* MBarHeight */] 00000C6A 2050 movea.l A0, [A0] 00000C6C 2F28 0004 move.l -[A7], [A0 + 0x4] 00000C70 2F10 move.l -[A7], [A0] 00000C72 3F57 0004 move.w [A7 + 0x4], [A7] 00000C76 9357 sub.w [A7], D1 00000C78 2F0F move.l -[A7], A7 00000C7A 2F3C 0004 0004 move.l -[A7], 0x40004 00000C80 A8A9 syscall InsetRect 00000C82 554F subq.w A7, 2 00000C84 486F 0002 pea.l [A7 + 0x2] 00000C88 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */] 00000C8C A8E9 syscall RectInRgn 00000C8E 4A1F tst.b [A7]+ 00000C90 504F addq.w A7, 8 00000C92 660C bne +0xE /* 00000CA0 */ 00000C94 2F2E 000A move.l -[A7], [A6 + 0xA] 00000C98 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000C9C 6100 FF52 bsr -0xAC /* 00000BF0 */ label00000CA0: 00000CA0 4E5E unlink A6 00000CA2 205F movea.l A0, [A7]+ 00000CA4 5C4F addq.w A7, 6 00000CA6 4ED0 jmp [A0] fn00000CA8: 00000CA8 205F movea.l A0, [A7]+ 00000CAA 2F3C 5749 4E44 move.l -[A7], 0x57494E44 /* 'WIND' */ 00000CB0 7000 moveq.l D0, 0x00 00000CB2 6100 FBB6 bsr -0x448 /* 0000086A */ 00000CB6 3F00 move.w -[A7], D0 00000CB8 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000CBC 2F08 move.l -[A7], A0 00000CBE 4E56 0000 link A6, 0 00000CC2 6100 FC8C bsr -0x372 /* 00000950 */ 00000CC6 3200 move.w D1, D0 00000CC8 594F subq.w A7, 4 00000CCA 2F2E 000E move.l -[A7], [A6 + 0xE] 00000CCE 3F2E 000C move.w -[A7], [A6 + 0xC] 00000CD2 A9A0 syscall GetResource 00000CD4 201F move.l D0, [A7]+ 00000CD6 6754 beq +0x56 /* 00000D2C */ 00000CD8 3F01 move.w -[A7], D1 00000CDA 206E 0008 movea.l A0, [A6 + 0x8] 00000CDE 2F28 0014 move.l -[A7], [A0 + 0x14] 00000CE2 2F28 0010 move.l -[A7], [A0 + 0x10] 00000CE6 2F00 move.l -[A7], D0 00000CE8 486F 0004 pea.l [A7 + 0x4] 00000CEC 4A68 0006 tst.w [A0 + 0x6] 00000CF0 6B06 bmi +0x8 /* 00000CF8 */ 00000CF2 2028 0008 move.l D0, [A0 + 0x8] 00000CF6 600A bra +0xC /* 00000D02 */ label00000CF8: 00000CF8 2068 0002 movea.l A0, [A0 + 0x2] 00000CFC 2050 movea.l A0, [A0] 00000CFE 2028 0006 move.l D0, [A0 + 0x6] label00000D02: 00000D02 4440 neg.w D0 00000D04 3F00 move.w -[A7], D0 00000D06 4840 swap.w D0 00000D08 4440 neg.w D0 00000D0A 3F00 move.w -[A7], D0 00000D0C A8A8 syscall OffsetRect 00000D0E 225F movea.l A1, [A7]+ 00000D10 2049 movea.l A0, A1 00000D12 A04A syscall HNoPurge 00000D14 2050 movea.l A0, [A0] 00000D16 209F move.l [A0], [A7]+ 00000D18 215F 0004 move.l [A0 + 0x4], [A7]+ 00000D1C 315F 0010 move.w [A0 + 0x10], [A7]+ 00000D20 2F09 move.l -[A7], A1 00000D22 A9AA syscall ChangedResource 00000D24 2F09 move.l -[A7], A1 00000D26 A9B0 syscall WriteResource 00000D28 2049 movea.l A0, A1 00000D2A A049 syscall HPurge label00000D2C: 00000D2C 4E5E unlink A6 00000D2E 205F movea.l A0, [A7]+ 00000D30 4FEF 000A lea.l A7, [A7 + 0xA] 00000D34 4ED0 jmp [A0] fn00000D36: 00000D36 4E56 FEEC link A6, -0x0114 00000D3A 554F subq.w A7, 2 00000D3C 303C 0003 move.w D0, 0x3 00000D40 A830 syscall Pack14 00000D42 4A1F tst.b [A7]+ 00000D44 6700 00AC beq +0xAE /* 00000DF2 */ 00000D48 266C 0014 movea.l A3, [A4 + 0x14] 00000D4C 2053 movea.l A0, [A3] 00000D4E 2068 000C movea.l A0, [A0 + 0xC] 00000D52 2050 movea.l A0, [A0] 00000D54 4A28 0010 tst.b [A0 + 0x10] 00000D58 6700 0098 beq +0x9A /* 00000DF2 */ 00000D5C 41E8 0008 lea.l A0, [A0 + 0x8] 00000D60 43EE FEF4 lea.l A1, [A6 - 0x10C] 00000D64 22D8 move.l [A1]+, [A0]+ 00000D66 2290 move.l [A1], [A0] 00000D68 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000D6C A873 syscall SetPort 00000D6E 486E FEEC pea.l [A6 - 0x114] 00000D72 A972 syscall GetMouse 00000D74 554F subq.w A7, 2 00000D76 2F2E FEEC move.l -[A7], [A6 - 0x114] 00000D7A 486E FEF4 pea.l [A6 - 0x10C] 00000D7E A8AD syscall PtInRect 00000D80 4A1F tst.b [A7]+ 00000D82 676E beq +0x70 /* 00000DF2 */ 00000D84 266C 0014 movea.l A3, [A4 + 0x14] 00000D88 2053 movea.l A0, [A3] 00000D8A 4A28 0014 tst.b [A0 + 0x14] 00000D8E 666C bne +0x6E /* 00000DFC */ 00000D90 41EE FEFC lea.l A0, [A6 - 0x104] 00000D94 30BC 0003 move.w [A0], 0x3 00000D98 7001 moveq.l D0, 0x01 00000D9A 6100 FACE bsr -0x530 /* 0000086A */ 00000D9E 3140 0002 move.w [A0 + 0x2], D0 00000DA2 317C 0005 0004 move.w [A0 + 0x4], 0x5 00000DA8 486E FEF4 pea.l [A6 - 0x10C] 00000DAC A870 syscall LocalToGlobal 00000DAE 486E FEF8 pea.l [A6 - 0x108] 00000DB2 A870 syscall LocalToGlobal 00000DB4 202E FEF8 move.l D0, [A6 - 0x108] 00000DB8 0440 000A subi.w D0, 0xA /* '\n' */ 00000DBC 4840 swap.w D0 00000DBE 0440 000A subi.w D0, 0xA /* '\n' */ 00000DC2 4840 swap.w D0 00000DC4 2D40 FEF0 move.l [A6 - 0x110], D0 00000DC8 554F subq.w A7, 2 00000DCA 486E FEFC pea.l [A6 - 0x104] 00000DCE 2F2E FEF0 move.l -[A7], [A6 - 0x110] 00000DD2 486E FEF4 pea.l [A6 - 0x10C] 00000DD6 42A7 clr.l -[A7] 00000DD8 42A7 clr.l -[A7] 00000DDA 4267 clr.w -[A7] 00000DDC 303C 0B01 move.w D0, 0xB01 00000DE0 A830 syscall Pack14 00000DE2 4A5F tst.w [A7]+ 00000DE4 660C bne +0xE /* 00000DF2 */ 00000DE6 266C 0014 movea.l A3, [A4 + 0x14] 00000DEA 2053 movea.l A0, [A3] 00000DEC 50E8 0014 st [A0 + 0x14] 00000DF0 600A bra +0xC /* 00000DFC */ label00000DF2: 00000DF2 266C 0014 movea.l A3, [A4 + 0x14] 00000DF6 2053 movea.l A0, [A3] 00000DF8 4228 0014 clr.b [A0 + 0x14] label00000DFC: 00000DFC 4E5E unlink A6 00000DFE 4E75 rts